package com.waitingresult.thread.hsp;

/**
 * All right reserved,Designed By WangShuai
 *
 * @author : WangShuai
 * @version : V1.0
 * @ClassName : DogImplRunable
 * @Description :
 * @date : 2022/9/16 12:06
 */
public class DogImplRunnable implements  Runnable{
    int i= 0;
    @Override
    public void run() {
        while (i < 10){
            i++;
            System.err.println(Thread.currentThread().getName()+"--- run..."+i);
            try {
                Thread.sleep(500);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
